package com.seed.application.web;

import com.seed.core.enumeration.Direction;

import javax.servlet.http.HttpServletRequest;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

public interface WebContext {

    HttpServletRequest getRequest();

    /**
     * 获取搜索参数
     * @return
     */
    Map<String, String> getSearch();

    Map<String, Direction> getOrder();

    String getKeyword();

    List<List<String>> getDataPermis();

    LinkedHashMap<String, String> getFieldPermis();

    String getSeedName();

    String getActionName();
}
